setting size of application