bugfix in x/y of centroid; larger maxsize (still experimental)