I recently did a similar run with a 9 hour total layover. bring comfortable clothing, get up and move around as much as possible, and drink tons of liquids. I ended up having quite a bit of swelling around my ankles because i was too comfortable and didn't get up enough.