uint C_field_bits = bits(BLOCK_SIZE_LIGHT);
uint O_pos_field_bits = bits(O_bits_len);
uint nearest_sampled_value = i/BLOCK_SIZE_LIGHT/sample_rate;
uint pos_O = get_field(O_pos,O_pos_field_bits,nearest_sampled_value);
uint pos = i/BLOCK_SIZE_LIGHT;
uint C_field_bits = bits(BLOCK_SIZE_LIGHT);
uint O_pos_field_bits = bits(O_bits_len);
uint nearest_sampled_value = i/BLOCK_SIZE_LIGHT/sample_rate;
uint pos_O = get_field(O_pos,O_pos_field_bits,nearest_sampled_value);
uint pos = i/BLOCK_SIZE_LIGHT;