Significant algorithm improvement: monitors are created not immediately but n minutes before the train aimed arrival at intermediate stations