Simplify CalcNodeInputOffsets