Reusing compute-accross for other functions