Attempt at fixing slicing and stiching