resize map and velocity