An algorythm of BLP regression