if (Buff[hbot].k < lastout ^ direction == 'a' )