trying to fix slow bootstrapping by limiting calculations