I found this [video](https://www.youtube.com/watch?v=vx-hDqqYzKw) extremely helpful to determine the [floorplanning constraints](https://ibb.co/rtHFWkw).

The first two constraints (i) make sure the modules are within the feasible floorplan; the subsequent four constraints (ii) make sure that no two modules overlap, and the last constraint (iii) describes all the modules in the first quadrant.

My goal is a bit different- I am not sure if just the mentioned constraints can be modified for this purpose. Basically for area minimization- each module is divided into 4 sections (1, 2, 3, 4 in the [picture](https://ibb.co/s2fSCv2)) and specific portions of the sections (labeled red) need to be a minimum distance, D away from other modules' red portions as shown in the example on the left. For example, portions 2, and 4 of a module need to be D away from other modules 2, and 4 portions. In this way, some more floorplan areas can be minimized compared to doing it with the whole modules (shown on the right).

Any advice on the modification of the (i, ii, iii) constraints in order to achieve my goal would be helpful.