changed weights to unsigned ints