adjust deflate ratio line with adding computing mean