width, height method with less FPS