Changed datatype of flags and ingredients from long to int since the
expected number of values <32 mio