factor out `insert_cell_measure` logic into separate function
factor out `insert_cell_measure` logic into separate function

therewillbecode/ichnaea,mozilla/ichnaea,therewillbecode/ichnaea,mozilla/ichnaea,therewillbecode/ichnaea,mozilla/ichnaea,mozilla/ichnaea