randomize obstacle