Good question and I don't really know the answer. That was my first IP and I didn't know enough by then. I had 5% deposit and If I remembered correctly, 2% of the 5% went to LMI, 2% actual deposit, and the remaining 1% some other charges and fees.
Maybe I will give my documents a good look...