Move printing of k-effective to separate subroutine.