added parameter for space between mapatoms