Do not cast channel start/end to int.