Mostly fixed obj conversion algorithm