massive efficiency improvement to x0r