Should just call this "voxelization" instead of quality, probably makes a lot of things clearer.

Also, this comment should be closer to where qualities is actually used/declared.