You has to make one of them (i.e., BN or C layer) in the strained state: 1) compress BN if all the lattice constants are set to that of C; 2) tensile load for C if all lattice constants are set to that of B; or 3) the lattice constants are set to the average of BN and C.