explicitly use width/height instead of size