Create window with the good size