Modified cubes library for JMonkeyEngine 3