use fixed size thumbs and also improve row column algorithm