separ &gt;= this.cutoff * max(p1.radius,p2.radius))
                            <span class="comment">% Remove interaction references from elements</span>
                            p1.interacts(p1.interacts==int)   = [];
                            p1.neigh_p(p1.neigh_p==p2)        = [];
                            p1.neigh_pid(p1.neigh_pid==p2.id) = [];
                            p2.interacts(p2.interacts==int)   = [];
                            p2.neigh_p(p2.neigh_p==p1)        = [];
                 