further improvement to ShootCubes