Removed the usage of the list from the Lines class
Construction of the line is now directly made on the vertexArray
=> Huge gain of performance