Debugging of the parser in ASTCompressor

Errors due to : bad recursive call on the queue, bad use of MaxBy.