Use paths length instead of additional parameter