removed loop in group shortest path
removed loop in group shortest path
refactored group shortest path