Outsourcing the Gauss-window function