add option to maxneib_blj to only  count AB as neighbors