implemented barrier costs and directional placement
resolved conflict