Tuning Stack/Heap and further cpsie/cpsid pruning