Extract output_offset and output_limit method