Too slow to run ddply in one go, must split it and run iteratively