Hopefully fix display issues with LaTeX O(n log n)