Bugfix: choose between lower or upper snap bound