refs #12 prepare index scan
refs #12 prepare range scan