Improving Mapper's Robustness by Varying Resolution According to Lens-Space Density