Multi thread version

xcs merge