@Override
    public double getShapeSquare() {
        double module = topSide - bottomSide;
        if(module < 0) module *= -1;
        double bigFormulaPart = (topSide + leftSide + rightSide - bottomSide) *
                                (topSide + rightSide - bottomSide - leftSide) *
                                (topSide + leftSide - bottomSide - rightSide) *
                                (bottomSide + leftSide + rightSide - topSide);
        if (bigFormulaPart < 0) bigFormulaPart *= -1;
        return ((topSide + bottomSide)/(4*(module)))*Math.sqrt(bigFormulaPart);
    }