djbmaster, i did use c_setminmax..
any other option besides c_setminmax?