Traffic shaper for ATM network node and method thereof