This invention relates to a method of creating batches for food items conveyed by a conveyor means, comprising: measuring an image profile for a food item, processing the measured image profile for the food item, where the processing includes: o dividing the image profile of the food item into at least one batch fulfilling a pre-defined batch-criteria, where each of the at least one batch includes two or more portions each of which fulfil a pre-defined portion-criteria, o determining whether there is a partial batch that does not fulfill the pre-defined batch-criteria, where in case a partial batch is present, determining and registering the number of portions within the partial batch that fulfil the pre-defined portion- criteria, o selecting an area within the food item where the partial batch originates from, cutting the food item into a plurality of portions based on the processed measured image profile, distinguishing the portions within the partial batch from the remaining portions, wherein the number of portions from one or more of subsequent food items needed to complete the partial batch such that it fulfils the pre-defined batch-criteria is taken from the same or similar area of the food items as where the partial batch originates from.