working strassen dynamic padding