insert BACs and adjust gaps