On a way to fully support SnapToTick feature with new algorithm.