Update jshintrc file.
Implement medium-cut algorithm.