Simulation using Bonferonni inequality to approximate p-value