What's the problem with giving all the bonus SP at the completing of the leve, and not during?

This would solve the problem (and it's how every other game does for quests: giving the xp reward at the end of the quest).