I have noticed that MAXPRNCMP is too small. It should be increased to 60 based on the BDS constellation status. This is causing some observations to be ignored.
Similar with MAXPRNQZS but I am less familiar with the logic of those defines and I am not in Japan and cannot see the SVs.