Revisit this line of code, make sure robust for fault that are not rectangles
Revisit this line of code, make sure robust for fault that are not rectangles