This should be [from, length].