Fixed p = 0 or 1