do_minmax controled at creation time