Sample p correctly in all instances
Divide C by m