working on new path connectors algorithm