minor modifications to map for density points