reduced size of obstacle
refactor