thubmanilmanager now finds the closes size to the desired one