27 weeks pregnant and I've gained 20lbs

Am I gaining too much weight? I was a healthy bmi before pregnancy and was told I should gain between 25-35lbs total. I'm worried I'm gaining weight too rapidly