Made XRange a header only template; eliminated template range