Optimization: don't run tuneRuler too often