Bug #2851: modified the BVH builder to run BVH generaton faster and changed the test slighly