I see :)

I see it as essentially a sorting problem (I assume the .stl file isn't just a random collection of tuples). Optimising the data handling will be key to speeding things up.