things to consider when buying a flat