Removed duplicate code from black-box FMM.