Thirty seven sounds fine. As others have already mentioned, it depends on how good an engineer/scientist/researcher you are and how to convince the potential employer that you have a potential.
It’s been a while, so I just looked up the rankings. The schools at around #40 looked fine. If you are qualified, you won’t get disadvantaged by the school ranking.