Norectalloc

Reduces the number of allocations during hit testing and painting by creating less rectangles. #29 is the next step in reducing the number of allocations.

fixes #25