changed range edges positioning