Fixed in Schedule Generator

+ fixed algorithm for time assignment