private UInt256 uint256(final int maxByteSize) {
    checkArgument(maxByteSize <= 32);
    return UInt256.fromBytes(Bytes32.wrap(bytes(32, 32 - maxByteSize)));
  }
Creates a UInt256 with a value that fits within maxByteSize

@param maxByteSize The byte size to cap this value to
@return the maximum size
ethereum/core/src/test-support/java/org/hyperledger/besu/ethereum/core/BlockDataGenerator.java