Exhaustive search for 6x5 and  10x10