How to use unit X size unit Y size and unit Z size on buildings

I want to reduce the size of a feitora, may I know how to do it?