added parallel version of collapseField