Using moving avg
Using padding instead of index manipulation