add deltas for distance and children