Compact tree of Shelly Smart