Rangefix

Make sure that no more huge arrays are created and instead use a function which looks a lot cleaner. 
Also make sure that stuff like 1..10 doesn't produce empty arrays.