added helper methods to stack.js for obtaining the limiting coordinates
of the bounding box of the current slice and for transferring box
coordinates from stack to project space.