cleaned up old topo to sp lines method