Improved memory efficiency and performance of ParSteam.foldBy