reworked scheduler for the simple scheduler and a repeat allocation bugfix for the compatibility tree scheduler.