[Unroll] Switch to using 'int' cost types in preparation for a somewhat