Register the cubes in ODE