changed the way the -M param is decided so that for lsf <8 it doesnt use a kb value greater than the mb value