change behaviour of the lineLength option