Using shape and object relationship (EPO)