Devide the whole grazing land into square areas without gaps so that each area contains exactly one cow.