apply 'gatherFields' to all algorithms