minor cleanup plus recursive effective alpha calculation