optimize X operator, esp for ranges