add local_reduction
change to fast slicing