Added sequences renumbering but it is slow...

Signed-off-by: Dmitry Ishchenko <d_ishchenko@i.ua>