More efficient loading of lines and points