Rename and combine local_* functions to block_reduce
Add short doc string example