You're also assuming that this would not be easily noticed by the manager on shift (or that they would not try to prevent it, perhaps by firing a worker), and that you could shift the algorithm with an amount small enough that the workers (making ~$7/hr) can afford it without wiping out the income they would receive from the extra hour, and that the workers would band together instead of thinking 'well I won't be the one sent home so I'm not going to spend $2 on keeping Sarah here for another hour'.