Finished GenerateBN