Added empty case in tree decomposer