Solved hull formation problem