Improved accuracy of integer plane point search.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>