Update total_bounds based on comments from @jwass on initial PR.