ok, file "test.cmprs" and it content is
00000000000000010000001000000011000001000000010100000110000001110000100000001001000010100000101100001100000011010000111000001111
N - number of bits, bits, not bytes, of that string = 128
D10 - string value in base10, ignoring all zeroes from left = 5233100606242806050955395731361295
A - that string value in table M, see above = D10 + 2^N <- this where i made mistake = 340287600021544706269425562827499572751
now subtract 1 from A, ie A: = A - 1 = 340287600021544706269425562827499572750
now find binary string in M for this to do that
find B = Floor(log from (A) base 2) = 128
find R = A – 2^B = 5233100606242806050955395731361294
now construct binary text string that equal to R in binary and add as much 0 from left as much it needed to make it overall size equal B
string that equal to R in binary =
10000001000000011000001000000010100000110000001110000100000001001000010100000101100001100000011010000111000001110
size of this string = 113
how many zeroes from left that needed to be add = B - size of that string = 15
add that zeroes to string =
00000000000000010000001000000011000001000000010100000110000001110000100000001001000010100000101100001100000011010000111000001110
now add to that string one one from left =
100000000000000010000001000000011000001000000010100000110000001110000100000001001000010100000101100001100000011010000111000001110
and now add even further to left as much zeroes it needed to make overall string size equal to 8192
size of this string = 129
how many zeroes needed = 8192 - size of this string = 8063
overall file would look like this:
8063 zeroes + 100000000000000010000001000000011000001000000010100000110000001110000100000001001000010100000101100001100000011010000111000001110
now save this string under oridginal name without .cmprs, ie as "test"
end