compute and save default sizes and dimensions