Non-plane strain in section balancing: calculation of restoration parameters