Initial compilation

infinite loop in the second minimizeComplete