To get to the end (always international section) of that pier, you walk a long and empty corridor on the top floor. The hermaphrodite gates rarely change.
You can't get into the F area without seeing US customs (and security), or out of it without seeing Canadian customs.