Thanks for the replies, and in particular for that very interesting bit about the linear worst case there. Had no idea. Now that I think of it, it makes a lot of sense. Cheers N