[core][py] remove lexicographer from gc engine