Fixed a performance issue in constructProlongationOperator.