set weigth = 1 << 14 if weigth >= 1 << 14