spreading function