when buying a flat what to consider