Finialize ctr mode
Tighten versions