was not using 'effective length' properly, fixing