optimize "integer extraction out of the middle of a vector" as produced