renamed make_program to make in Program

Also added rebind to avoid a resolve_indices