Made Cat variadic with O(log N) random access