optimized bucket deletion