Only check the precision when it will be used to build an image.
Add a sort indicies method for int[]
Paint the point ROI only on the relevant slice