buildInheritings