fix quantile maps generation