add comment for first and last row elements index difference