add forgotten ranges.[ch]

Signed-off-by: Andrey Skvortsov <Andrej.Skvortzov@gmail.com>