Strassen with dynamic padding