Implementing Substructuring