added rectangular range limits