Fixed non power of two matrix products