fixed max std problem, shrunk gauge, tried out mem lock and stack prefault