Minor clean up.
Nearest constraint.