continued writing on optimizations. Scrabbled down some stuff on avoiding recalculations