Made adjustments to not assume stack size is always 64.