Is there a way of implementing the hashlife algorithm (to use caching) but with a universe bounded by hight and width that wraps around to the other sized?