Added internal function _box to get a box from 1 or 2 positions. This allows the user to specify a box in various ways.