save material index in block value instead of the whole damn fucking thing (1600000 voxels in 2GB RAM)