Complete ToH problem class