New method of generating starmap