Scaled counter mode.

Made counter capable of occupying up to 64 bits in an 8 byte slice.
Also used a select a statement to compile results as they are processed
instead of all at once at the end.