Smarten up shared path determination