brian, I was trying to cut 3 more, but couldn't get it to work as my brains are in huge pain as well.

but,
to get it smaller one could try taken all the functioning to one loop and go on until adding and reducing has finished.
this means, that at the same time as the original fractions are being counted also the translation to the new one is carried out.
the fraction play got my head so mad I gave up.
but it would have been worth it.
think how much nicer it would look to have working code of 227 than the one now with 230 [Wink]
_________________________
!

download KiXnet