use correct conversion path length mechanism, fixes #15