The #define AUTO_BED_LEVELING_GRID_POINTS 5 says the max number of grid points is a 5 x 5 matrix. It will default to 3 x 3.

Did you use a lower case 'n' when you specified the number of grid points? Did you say G29 n 5 ???