sorry ``for i in range(1, max_bin+1):``