uint array to int