faster way to reset and resize map