don't use memset for temps unless necessary