removed the precomputation as it dint help