Building solution tree