Working Analysis tree builder for sharc\!