Fixed algorithm, that all lectures wouldn't be in the same day