Fix memory on big smallpt