initial commit for BDS with ideal repulsive barrier