Improved rendering speed of minor grid lines