changed the rest distance to the target a bit
fixed a bug in ConverterV2 which caused an IndexOutOfBoundsException if
an obstacle was at the right or bottom end of the map