bend detection