Moved the implementation of two micro functions from .hpp to .cpp file +...

... changed one int -> size_t.