updated smoothness heuristic