Implementation of codel for cellsim