Corrected reflection pruning - partially tested