Extract consecutive boost value to variable.

Per review feedback