find the sum path