exchanged -1 with lemon::INVALID