Added size on dict and type on tree