Optimized prototype

Executes a lot faster, removed unnecessary evaluate cycles