There is a good reason why the Cube is so large, otherwise it wont find Ores, since Ores are generated in huge Veins as opposed to small blobs like in vanilla MC.
And dont forget the for Loop that it runs through, the Quality also increases Sample Count.