Crop to smallest frame : OK with tests

TODO : implement thinning algorithme