At the beginning of the function place "c_updatehull(me, 1);".
This should be sufficient to set the collision capsule to the size of the player.
A seldom but possible reason could be that a vertex of the model is placed beneath the model's feet.
Maybe, you can correct the height of the model with setting the min_z value manually, as well.