pre optim seems to work (not tested when optimize size or markers