Strain gradient effects in periodic flat punch indenting at small scales