While falling short against the Americans is never fun, Canada’s women’s basketball team is still in a good position at Rio 2016.

Canada started strong against the top-ranked USA on Friday, holding the score to 18-16 after the first quarter, but ultimately fell by a score of 81-51.

Canada guard Nirra Fields shoots during the second half of a women's basketball game against the United States at the Youth Center at the 2016 Summer Olympics in Rio de Janeiro, Brazil, Friday, Aug. 12, 2016. The United States defeated Canada 81-51. (AP Photo/Carlos Osorio)

Canada guard Nirra Fields shoots during the second half of a women’s basketball game against the United States at the Youth Center at the 2016 Summer Olympics in Rio de Janeiro, Brazil, Friday, Aug. 12, 2016. The United States defeated Canada 81-51. (AP Photo/Carlos Osorio)

“They’re the best team in the world, so obviously keeping it tight in the first half is not enough,” said Canadian guard Nirra Fields. “We have to be able to sustain that throughout the whole game.”

RELATED: Canada beats Serbia | Canada tops Senegal

The loss was Canada’s first of the competition, after wins over China, Serbia and Senegal. Canada and Spain now sit tied for second place in Group B, with their matchup on Sunday determining who will take that placement—and a more favourable draw for the quarterfinals.

Though Canada, ranked No. 9 in the world, will come in as underdogs against the No. 3-ranked Spanish, the game against the powerful American team did provide some potentially useful lessons.

Canada forward Natalie Achonwa (11) reacts with her teammates after defeating the United States during second half to win the gold medal at the Pan American Games in Toronto on Monday, July 20, 2015. THE CANADIAN PRESS/Nathan Denette

Canada forward Natalie Achonwa (11) reacts with her teammates after defeating the United States during second half to win the gold medal at the Pan American Games in Toronto on Monday, July 20, 2015. THE CANADIAN PRESS/Nathan Denette

“We’re going to take some of the things from today (against USA),” said Canadian forward Natalie Achonwa. “They run a couple of similar offences to the USA so it was great practice today.”

Indeed, the team isn’t wallowing after the loss to the USA. Instead, they’re hoping to carry momentum forward, in search of the team’s first-ever spot on the Olympic podium (Canada’s best previous finish in women’s basketball was fourth place at Los Angeles 1984).

“Our team continues to really build in offence and defence,” said Fields. “With every game we’re trying to get a little bit better, so when we get to the final game we’re on our best.”

The result against Spain will determine whether Canada finished second or third in Group B—which, in turn, will decide their opponent (likely to be France, Japan or Turkey) in Tuesday’s must-win quarterfinal game.