passing coordinates of the fixed flag from C to Python