calculation n-1 and best time per event