moved immediate length logic to RESOLVE_EXP() and modified sifter functions to take advantage of it