Isolated the line that updates bounds.