optimization in extractranges()
Merge branch 'master' into sauerbraten