This PR adds support for setting stack root with multiple children, which is to be expected as stack can be initialised with multiple children. Closes #4441