indention cleanup

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Fix distance comparism regression

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>