decodeways & simplifypath