BigInteger is used for weights