Mine dad is 160 , mine mum is 160 as well.
I am 173, strangely mine experience parallels yours.
I was 168 by 14 but i only grew 5 cm between 14-17, and i stopped after that.
I slept late too and did not eat much, school was really stress, plus mine mum was diagnosed with cancer , some days i barely get any sleep at all and school requires me to get out of bed by 6am. So yeah, it is quite possible mine lifestyle affected mine height.