minor electrical line path optimizations