Switched to using parallel apply.