Trying to improve performance of visualization page.