add build_map and warping