add minimum scalar product
add crazy_rows