Created efficient version for bounds

Still taking a long time to run