Optimize the fuck out of using checks in machines.