Edge cuts detection working for rectangular PCBs