Funcs to calculate blob's width/height and to create an image from a cluster