calculating the outline points of a rectangle should be in a spesific module