double encodign starts to work
it works, still some special cases missing
0.xxx special case