expr: Split function to chunk expressions