awsome speed up

we now try to get rid of magic number
junk commit
fixed to awsome speedup