map jumps
improve handling of map size bounds

Signed-off-by: themuntdregger <themuntdregger@gmail.com>