CBN creation inside boundary fix