[FIX] acct for p equal to 0 or 1.