Fixed TNG memory alignment problem and reset pointers.