Extended mksize Function