adding debug trace to verify thumb width and height values