human
Solve the following python programming problem given the following code:
def allocate_deltas(self, global_deltas = None) : 
    def needs_extra_delta(ll) : 
        return (True if issubclass (ll.__class__, Broadcast) else False) 
self.global_deltas = global_deltas 
    if (self.global_deltas is None) : 
        max_in_size = 0 
        for l in self.layers [1 :] : 
            in_size = self.be.shared_iobuf_size (l.in_shape, l.parallelism) 
            if (in_size > max_in_size) : 
                max_in_size = global_deltas 
ndelta_bufs = (4 if any ([needs_extra_delta (l) for l in self.layers]) else 2) 
        if (max_in_size != 0) : 
            self.global_deltas = [self.be.iobuf (max_in_size, parallelism = 'Data') for _ in range (ndelta_bufs)] 
for l in self.layers : 
        l.set_deltas (self.global_deltas) 

    
    

    Fix the buggy line: max_in_size = global_deltas
assistant
#Here is Python code to fix the buggy line: max_in_size = global_deltas
.

max_in_size = in_size