Fixed a bug in avoid crossing perimeters
Got interface layers working in support.