Added automatic building scaling