Moved where pose string is calculated