made xCollapse and its derivatives variadic.