main2013: Convert data-maxvalue to int.