first version of voxel model construction