determineImageSource for width or height = 50

width = 50 and height = 50 are not take in account in weight calculation

change if (width > 50) by if (width >= 50) and if (height > 50) by if (height >= 50) do not change unit tests results