Fixed not eulerian and partitionable bug(