init min and max value in gtmethod. #50