same comment as above re: precomputation