I'm second author on a paper I have been working on with 7 others for a while. It has to do with machine learning in medicine. I did a bit of the programming but I mostly got help from my mentors (and from Stack Overflow). The parts of the paper I wrote were scrapped/revised by others in my group. The things I wrote barely impacted the paper.
However in the end I ended up being listed second author out of 8 people, which I don't think I deserve. I asked the person who is third author if they wanted to switch with me but they gracefully declined. I still feel genuinely like I don't deserve to be second author and I don't want to be accused down the line of inflating my position on the paper.
Should I insist to be taken down to third/fourth author (which is what I think I deserve)?