limit size in frame-level case