working with equal length paths
working with equal length paths