remove ineffecient calculations, increase depth