wire min compare wtih 3 integer