bestTimeRange first simple implementation is ready ; test case is OK