ADD FILLFUNCTIONAL
Use stride when bandwidth is large
updated timing for cos example