PERF: speed up where operations when splitting blocks (GH3733)

close #3733