[nexa] algorithmic judgment