[Update] Optimization

Update Optimization from lev76g, forums of AquaFlame.NET