Create list of integer out of constant stream of data

Sounds like you and @alex.goft are working on the same problem? Similar, anyway.