The Pistons and Jason Maxiell have reportedly agreed on a $20 million, four-year contract extension, just one day before the deadline.

Maxiell, 25, is in the final year of his contract and decided to stick with Detroit rather then become a free agent after the season.

He averaged 7.9 points on 54 percent shooting along with 5.3 rebounds, 1.2 blocks in 21.5 minutes per game last season.