A lens is used in a camera module. The system provides as much video of the old video channel as possible for display until video from the new channel is acquired. Therefore, in some embodiments, a hierarchical search method is used to determine the acceptable schedule with the largest modeled load latency.