Double Post sorry!
You might have to merge a few vertices in the last loop (e.g. make some of the faces triangular). Without seeing the leg it’s hard to suggest which ones…
Please no more posts in this thread. It’s a double post.
Aim your replies to this thread instead.