haneke positioning algorithm