iterator find optimize
copy garyburd redid lib to client