Some reshapes and every algos functionnal