updated function preComputeScheduleCSE()