split types

split types to several parts
change types container to map
types conteiner change

change map to bintree