added functionality to BVHRefiner on mode '3d'

Optimized data upload to gpu without black flare