start and end rowkeys should be reversed