layerInterp_mloopcol
Casting to int truncates a floating-point number, that is, it loose the fractional part.