inlined some utils methods
Removed Utils.range and replaced it by the haxe built-in range syntax