get rid of dmin and dmax variables
npixround