minor cleanup, only assign to kb.{data,size} once.