As a sample I put a 20x20x20 cube.
As you can see in the photo with a layer height of 0.2 it should make 100 layers and it only makes 99.
I hope my comment is useful. If for any reason I do something wrong, I would be grateful if you would let me know.
Attached photo of the beta version and version 3.6 where you can see the 100 layers.