Line density needs to be implemented for generator.