Attempt at building a dst tree