optimizing marker and icons