taking loc/range from source map info
build