move computation to post-process step