extend_string now behaves properly whith 0 newlen