Replaced Voxel.id with Voxel.idx which gives the index of molecule in the list