added a function to search for nearby frames that timing models have been calculated for
made the searching for nearby frames better