Fix bugs w/expanding/compacting w/empty base.