Fix error - wrong x_i's were hashed