make subClass relations transitive