Sampling of dM_dr is important for accurate M(r)