add xs log2