smoother box generation