parallelized computeBoundaryContribution
parallelized computeBoundaryContribution