Implemented least constraining value algo