fixed bug which tried to break up highest cells for certain values of image plane position