simplification. using constant midpoints for everything now.

if they are ever required again, boundaries and midpoint calculation can
be resurrected from the previous commit.