expand function for moves and cube with only corners