Similar Items: Higher-dimensional automata modeling shared-variable systems