make casts float match coding standard
first cut at local voxel cache
make local voxel cache properly switch to different cache file when switching domains