Square Root Voting System, Optimal Threshold and p