[AS3] Optimizing some integral arrays