Looks like a bug with local memory size computation

refs #15
@raedwulf how about this?