finishe the untested version of calculating overlapping schedule