Get ranges for blocks.
Objecty oreinty