I dont understand your question.
maybe you would like to share your application for us to look at it?
as a general note, you might want to prepare the array size in advance (preallocate memory), using the "initialize array" function. this should help in speeding up your application.
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wire
s...