Put in max obstacle allowed