image placement for problems up to 200