delete unused struct
implement treemap expanding