Statistics for Bandwidth scheduling and its application in ATM networks