if with wxh, then scale dim