We were doing numerous power off stalls and the instructor was encouraging me to recover with less altitude loss each time.
Now I wasn't there, so I cannot criticise this particular situation. Anyway you learned something, which is good!
But... There is very rarely any point in doing stalling over and over with this aim. In fact I can think of only two: low level endorsement work, and remedial for a student being lazy with attitude control.
No one crashes an aeroplane because they lost 50' instead of 20' in a stall recovery. People sadly do crash because they rush, and botch, a recovery.
I once accidentally stalled an aircraft at 250' in a full power steep turn.* How much height did I lose? Less than 250'. Saying anything else, I believe, misses the point of a stall recovery.
* Yes it was legal. Yes it was careless. No it hasn't happened since.