added chromosome_id parameter to the cres_in_range() function