Fix size resize and speed test