Only create lines if we are less than max.