and just to note on the design, when I started with this, I came up with 3 totally different designs and seems that the one I took will easily reach some 700 chars before giving any results.

but I hate the straightforward mathematic approach so much, I will try to make either one of the others to work before the deadline. If I can come up with the spare time, that is.

download KiXnet