fix bug shape detection algo
readme test