cutTableForEvent function

Cut table according to given iteration.