use base from gaps for internal nodes