what to consider when buying an apartment