NEW YORK (CBSDFW.COM/AP) — The Nets needed a win, and they got their easiest one ever in Brooklyn.

DeMarre Carroll scored 22 points, Rodions Kurucs had 19 and the Nets easily snapped a three-game losing streak with a 127-88 victory over the Dallas Mavericks on Monday night.

Caris LeVert added 18 points and Spencer Dinwiddie finished with 16 on a night the Nets shook up their starting lineup but were fueled by their reserves. The 39-point margin was their most lopsided victory at home — and matched their biggest victory overall — since moving from New Jersey in 2012.

“This was definitely a game for us to build off of,” guard D’Angelo Russell said. “Coming into this one, we knew we had to get it. We know we’ve got a tough stretch coming up so we need all the confidence we can get.”

The Nets were routed by teams below them in the standings in their last three games but led nearly the entire way, with the lead ballooning to 44 points. Brooklyn moved back into a tie for sixth place in the Eastern Conference.

Dwight Powell scored 20 points and Luka Doncic had 16 for the Mavericks, who lost for the seventh time in eight games. Dallas did finally get Dirk Nowitzki a couple late baskets after he missed his first nine shots in what could have been his last game in Brooklyn.

“It was ugly from start to finish,” Mavericks coach Rick Carlisle said. “When you lose every quarter in an NBA game, you certainly haven’t done what you needed to do, so very disappointing night.”

With Treveon Graham out with back soreness, Kurucs started at power forward, and coach Kenny Atkinson also inserted Allen Crabbe for LeVert at shooting guard. LeVert had started the previous seven games after coming off the bench in his first two after a returning from a 42-game absence with a dislocated right foot.

“I think we wanted to change something up, do something different. Him coming off the bench or starting, he told me this morning, ‘I really don’t care, Coach, as long as I get my minutes,'” Atkinson said of LeVert, who was the team’s leading scorer when he got hurt. “He got his minutes.”

Atkinson said before the game that Brooklyn’s problem in its recent losses to Washington, Charlotte and Miami was poor shooting affecting their effort on defense.

Neither side of the floor was a problem in this one, as the Nets were shooting above 60 percent into the fourth quarter before finishing at 56.5 percent. They limited Dallas to 35.6 percent.

The Nets led 31-21 after one and quickly pushed the lead to 18 led by Carroll and Dinwiddie. They maintained that 18-point cushion at halftime — after Doncic threw in a halfcourt shot for the final basket — for their biggest halftime advantage of the season.

They extended it to 26 after three, also their biggest margin of the season, and all that was left from there was cheering for Nowitzki to get on the board. Fans screamed his name as soon as the Mavs started bringing the ball up the floor, and booed the Mavericks players who took shots rather than pass to Nowitzki, who still hasn’t said if he will retire.

The Mavericks are now 27-36 on the season and are in 13th place in the Western Conference.

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)