cut: make memory allocation independent of range width