Thin tree is a tool for building recursive structures