The 76ers reached agreement in principle on a two-year, $6 million contract extension with Lavoy Allen on Sunday, the first day of free agency, according to sources with knowledge of the situation.

The deal cannot be officially signed until the moratorium on signings is lifted on July 11.

Allen, a 23-year-old forward-center from Temple, was the 50th overall pick in the 2011 NBA draft.

After averaging 4.1 points and 4.1 rebounds in 41 regular-season games, 15 of them as a starter, Allen was better in the playoffs, averaging 6.3 points and 5.0 rebounds. He also established himself as the team's best post defender.

The Sixers also spoke to the representatives of unrestricted free agents Lou Williams and Spencer Hawes.