Optimized the functions that list of TR frames