Our paper is published in JAIR