improve x0r key expansion