updated light_resizer