instead of a table of (lo, hi, percent), maybe start with a zipped list [(boundary, percent) ... ]
instead of a table of (lo, hi, percent), maybe start with a zipped list [(boundary, percent) ... ]