Simplify path calculation