Removed range checkingand other debug directives