The algorithm has been corrected to avoid exception. Now both Draw commands "brollingball" and "rollingball" give correct results. Test cases "offset faces_type_a A3, A4, A9" are good now.