Revert "Rambar optimizations --Thx to AOKP"

This reverts commit b663beb77158d808e5b311ee345c4ab59a3749b9.