Axis-aligned boxes use top and bottom corners

Fixes issue #35.
Merge pull request #38 from rsaarelm/master

Axis-aligned boxes use top and bottom corners