BugFixes on Cart and Optimization

Added heavy optimization techniques to improve cart loading efficiency
by 66.7%