fix bugs in stopping decomposition