smooth the gamma