Automatic calculation of frame list