Simplified shadow
simplified computation in updateConstraints pass.