require(by < 0, "Invalid fanout: %d, by should be >= 0".format(by))