New patch : compression with trinomial curve