Original: It constitutes part of the international boundary between Pakistan and Afghanistan for a considerable length.
Simplified: It constitutes boundary between Pakistan and Afghanistan territory for a considerable length.