building an optimized voxel engine with webgl and terrain generation