need to sort cubes from furthest -> nearest now