Split computation into seperate file.