Cube bouncing