add search min-cut for eliminated
fix graph creation
fix style error