remove irrelevant print on update_lbw. Try to scale images nicely.