Shift some computation around in DofMapBuilder.