Your size is around the 16" sort of area. On some frames you could even get away with a 14 or 15.
MTB sizing is very different to road or even utility bike sizing. On playful/aggressive bikes you can go to the lower end of the scale. MTB riders ride with loads of seatpost showing (about 8 inches on my 18 inch XC bike, and my inside leg is about 33 inches). You can change things like cockpit length with different rise, backsweep and tilt of your bars, you can change stems both in length and rise, and you can alter your saddle position, swapping between a lay-back post and a straight one.
Ignore stuff like
Halfords or online size checkers, they all try to put you on a MTB that's at least a size too big for you.
Have a read of this
http://www.on-one.co.uk/help/what-size-bike and a bit of a giggle. Remeber On One frames have longish top tubes, so the advice is for their aggressive Inbred frames
As a general rule slightly too small can be mended better than way too big.