fixes #314 - refactored is unit type valid for build order to be based of # of unit steps