development halted as the data output is very weird while the routines are perfectly correct. my receiver keeps on losing some edge at given position in the data stream. I'll have to investigate the problem more.