rebuilt and smoothened logic from ground on
introducing the dynamic long term maps
changed footprint to inflate map