[FIX] acct for p equal 0 or 1.