Fix china`s algorithm