hmm. something not working with maps?
done with pairs.ts
done with quantile.ts