Implementations of Online Grammar Compression Algorithms to Generate Balanced Straight-Line Programs.