drop unused function withinLimits