made part4cb work, made space, fixes in polygon and image