Optimize space grid
Change: Haxe -> OpenFL & h3d -> heaps