This means that even in the same school the math teacher for kids entering grade 8 does not know what material was covered before. Some kids may have been exposed to a particular topic, some may have never seen it. So teachers have to go over the basic material again and again and again, which makes it very hard to give a solid course.
In Europe (at least in some countries), there is a standard program, so the teacher in grade 8 math knows that all prerequisites have been seen by every student. So they give a very brief refresher at the beginning of the year and can turn to the new material. Even better, when a topic is covered in a physics class, the physics teacher knows that the corresponding math tools have already been covered in the math classes.
This needs to be fixed for the school-only path to be viable.