change algorithm which is used by xts.