fix amd build
rework grunt task
Improve size scale

- introduce other size scale
- refactored point element tests
Compile (tmp commit)