[IDS/.gen] Take into account the new max-size parameter.

Due to a new parameter for the frontier computation.
[codel] Fix a Warning (cast a pointer type)