If there is a large number of Range measurements, the number of combinations increases rapidly, as it's !N/(!4*!(N-4)), so it increases as N^4. It can make the calculation become pretty slow when N > 10.
Ideally, the script should be able to split the trilateration resolution over several updates if necessary.