compute area & piece