Attempting to bind minY maxY variables locally to see if that helps perf.