How can I create a Solid mesh for working with the nearest neighbor mapping?