Designing valid hierarchies in DeepSee