add debug information to evaluate de algorithm behavior