resizes map