Initial changes to augi's difficulty algo to make it compile