As Brawo say, this depend a lot on the dynamic, that existed between you. Did you try limping in from SB before, and did he raise or even jam against that every time? In that case limping KK is a really sexy option of course with intentions to go all in, if he put in any kind of raise.
Or was it maybe a situation, where you had been jamming against his BB multible times, so that he might be a bit tilted and ready to "fight you back"? Then jamming for 18BB can certainly look bluffy and be a great option. You are kind of saying "hey please fold", while in reality you are praying for him to call.
Finally you were also deep enough to put in a standard raise and play postflop, if he just call. This however depend also, how you play the rest of your range. If you had limped the previous 4 times, because you always limp, when stacks are this short, then its probably better to limp KK as well.
__________________
|