cubes similarity