The current pipes can be inserted into public quarries and all entities outside the territory. Can you solve it?