Optimize for p == 0