Working implementation of aligned memory pool