Use float3d arrays
Use only needed boxes