good up to 22 square matrices