Fit text inside to an object 100%


I have to fit numbers to several shape-s like this. I use Fit text to frame method but sometimes it results like this: (the number goes outside to the shape..)

Good quality image:

I would need an automatic method what makes the positioning/ resizing of the numbers 100% correct.

The numbering is a part of a macro which I'm using to order the correct numbers...

BTW: I was trying to make the text frame (margin) larger but there is no option for it. 

Thanks for everyone who wants to help me!