Add a setting for max loop count per step in liquid update