Reduce npath complexity