fix bug with small search bbox area and "E" shape