Optimized animation evaluation by storing last frame index and start searching for next key frame from that index instead from the start