Initial grid code - sets isInside for voxels