splitOutput function

Split Output by Patch