Further performance tweaks. Instructions on how to run TeraSort.