remove unused twigs