More speedup, plus fix excess use of setGap in delMinOrMax, dFitLeft and dFitRight.