Implement finding paths for MPP