Compact tree of Ruby Malinda Barath