Restored full functionality of the 'balance_length' thread scheduling method.