smallRev now works. Really ugly implementation...