refactory CFrom, seperatr SMALLRECT to location and size