moved the implementation to the voxel_layer.cpp file